//
//  Model.m
//  08-Homework
//
//  Created by dllo on 16/7/25.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "Model.h"

@implementation Model

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
-(instancetype)initWithDic:(NSDictionary *)dic{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }return self;
}
+(instancetype)modelWithDic:(NSDictionary *)dic{
    return [[Model alloc] initWithDic:dic];
}
@end
